/**
  Foot
  A fast, lightweight and minimalistic Wayland terminal emulator

  https://codeberg.org/dnkl/foot
 */
{ lib, ... }: {
  programs.foot = {
    enable = true;

    settings = {
      main = {
        font-bold-italic = "FiraCode Nerd Font:weight=bold:slant=italic:size=10";
        font-italic = "FiraCode Nerd Font:slant=italic:size=10";
        font-bold = "FiraCode Nerd Font:weight=700:size=10";
        font = "FiraCode Nerd Font:size=10";
        line-height = 14;
        pad = "10x10";
      };

      scrollback = {
        lines = 5000;
        multiplier = 3.0;
        indicator-position = "none";
      };

      cursor = {
        style = "block";
      };

      colors = {
        alpha = 0.95;
        foreground = "FFFFFF";
        background = "121212";
        
        regular0 = "121212";  # black
        regular1 = "FF5370";  # red
        regular2 = "C3E88D";  # green
        regular3 = "FFCB6B";  # yellow
        regular4 = "82AAFF";  # blue
        regular5 = "C792EA";  # magenta
        regular6 = "9CDCFE";  # cyan
        regular7 = "FFFFFF";  # white
      };
    };
  };
}